package com.py.credit.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.py.framework.core.common.Page;

public interface XylyStatisticsServiceDao {

	List<Map<String,Object>> getPromiseBooksByConditionForPage(
			@Param(value="type")String type,
			@Param(value="ztType")String ztType,
			@Param(value="deptId")Long deptId,
			@Param(value="columns")List<String> columns, 
			@Param(value="additionalColumns")String[] additionalColumns, 
			@Param(value="conditions")List<String> conditions, 
			@Param(value="page")Page page);
	
	List<Map<String, Object>> getStatistics(@Param(value="type")String type , @Param(value="ztType")String ztType , @Param(value="topDeptId")Long topDeptId);
	
	List<Map<String, Object>> promiseBooksByZtForPage(@Param(value="ztName")String ztName , @Param(value="page")Page page);
	
	List<Map<String, Object>> getAllTopDepts();
	
	List<Map<String, Object>> getStatisticsForPage(@Param(value="page")Page page);
	
	Map<String, Object> getStatisticsByType(@Param(value="type")String type,@Param(value="tablename")String tablename );
	
	
	List<Map<String,Object>> promiseBooksByConditionForPage(
			@Param(value="ztName")String ztName,
			@Param(value="columns")List<String> columns, 
			@Param(value="additionalColumns")String[] additionalColumns, 
			@Param(value="conditions")List<String> conditions, 
			@Param(value="page")Page page);

}
